package com.zhentao.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName sys_activity_record
 */
@TableName(value ="sys_activity_record")
@Data
public class SysActivityRecord implements Serializable {
    /**
     * 活动领取记录id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 领取人
     */
    private String recordName;

    /**
     * 活动名称
     */
    private String activityName;
    private String activityTitle;
    /**
     * 活动信息
     */
    private String activityRemark;

    /**
     * 优惠卷价格
     */
    private Integer activityMony;

    /**
     * 活动图片
     */
    private String activityImgs;

    /**
     * 领取时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date recordData;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}